package com.example.HeadFirstDemo.Builder;

import org.junit.Test;

public class TestCase {
    @Test
    public void test(){
        CarDirector carDirector=new CarDirector(new CarBuilder());
        Car car=carDirector.build();
        car.getEngine().run();
    }
}
